<template>
  <div class="success">
    <h2>提交成功了</h2>
    <p>请牢记您的ID: <span>{{this.userid}}</span></p>

    <br>
    <br>
    <br>
    <br>
    <br>
    <div class="fanhui">
      <a href="#/">返回主页 查询</a>
    </div>
  </div>
</template>

<script>
export default {
  name: 'success',
  data () {
    return {
      userid:this.$route.params.userid,
    }
  },
  created: function(){
     
  },
  methods: {
     
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
h1, h2 {
  font-weight: normal;
  text-align: center;
  padding-top: 100px;
}
p{
  text-align: center;
}
span{
  color: #42b983;
}
ul {
  list-style-type: none;
  padding: 0;
}

li {
  display: inline-block;
  margin: 0 10px;
}

a {
  color: #42b983;
}
.fanhui{
  text-align: center;
}
</style>
